<?php
/**
 * @name User
 * @package: User
 * @package public
 * @author Truonghm
 * @version $1.0
 * @license http://officex.vn/license
 * @copyright officex.
 * 24/3/2011
 * cac ham nghiep vu lien quan den role
 * 
 */
class User_Models_Business_Role extends User_Models_Interface_Role {
	/**
	 @author Truonghm
	 @version $1.0
	 @desc Lay toan bo nhom quyen trong bang Role
	 */
	protected function getAllRole(){
		$model = new Models_Role();
		$select = $model->select()->from($model,array('id', 'name','description'));
		return $model->fetchAll($select)->toArray();
	}
}